package com.bupt.kgplatform.service;


import com.bupt.kgplatform.Util.R;
import org.springframework.stereotype.Service;

/**
 * DockerService
 *
 * @author zrz
 * @date 2023/5/26
 * @time 13:31
 * @Description docker
 */

public interface DockerService{

    R createContainers(String containerName, int port);
    int checkContainer(String containerName);

    R stopContainer(String containerName);

    R deleteContainer(String containerName);

    R restartContainer(String containerName);
    int getPort();

    void mkdir(String folderPath);
}
